home *** CD-ROM | disk | FTP | other *** search
/ Atari Mega Archive 1 / Atari Mega Archive - Volume 1.iso / apps / astronmy / strchart.arc / patch.arc / readme.1 < prev    next >
Text File  |  1989-03-23  |  2KB  |  46 lines

  1. A hack is used to determine if "moonphse," "planet," "starst," or "staranim"
  2. is running from the desktop or the shell.  If the environment variable "PATH"
  3. is not set or has a null value, the program assumes it was run from the
  4. desktop and will wait for a keypress before exiting.  If "PATH" is set, it
  5. assumes it was run from a shell (since "PATH" is meaningless to the desktop)
  6. and will usually exit immediately, the exception being "STARST.TTP" as
  7. described in the readme file for the executables.
  8.  
  9. Two defines were added to starchart:  ST_MWC defines the Atari ST with the
  10. Mark Williams C compiler, and INTERACTIVE means that the program must reset
  11. the terminal before exiting, so the function die() is located in the driver
  12. source file instead of in starchrt.c for better portability.
  13.  
  14. Really, very few changes were necessary.  A couple of frustrating bugs turned
  15. out to be caused by Mark Williams C's definition of an "int" as 16 bits, which
  16. caused very large numbers to become smaller, negative ones.  Casting them to
  17. "long" solved the problem, but, as usual, fixing the problem was much easier
  18. than finding it.
  19.  
  20. Names of programs were changed as follows because of the ST's MS-DOS-like file
  21. structure:
  22.      moonphase.c --> moonphse.c
  23.      starchart.c --> starchrt.c
  24.      starchart.h --> starchrt.h
  25.      starimages.c --> starimag.c
  26.      starlaser.c --> starlase.c
  27.  
  28. Be warned that compiling "planet" requires almost a full megabyte of memory.
  29. With my 1040 I had to remove ALL desk accessories and AUTO folder programs,
  30. and even then had to redirect the output of "make -n planet.ttp" into a file
  31. and invoke it as a shell script, due to the overhead of running "make."
  32.  
  33. See the file "readme.2" for the readme files that were included with the
  34. original distributions.
  35.  
  36. Obligatory Caveat:  I make no guarantees as to the robustness or accuracy of
  37. this port of starchart.  While I am sure there are no devestating bugs in it,
  38. should one appear I am not responsible for any damage or misinformation it
  39. may cause.
  40.  
  41. All programs were compiled with Mark Williams C, version 3.0.6; portions of
  42. these programs copyright 1984, Mark Williams Company.
  43.  
  44. questions or comments on the ST version only should go to:
  45. dgy@sigmast.UUCP (Dave Yearke, Sigma Systems Technology, Inc.)
  46.